package main

//blog: xiaorui.cc
import (
	tcron "github.com/toolkits/cron"
	"log"
)

var (
	judgeCron      = tcron.New()
	judgeCronSpec1 = "0 43 14 * * *"
	judgeCronSpec2 = "0 43 14 * * *"
)

func main() {

	judgeCron.AddFunc(judgeCronSpec1, func() {
		log.Println("11")

	})
	judgeCron.AddFunc(judgeCronSpec2, func() {
		log.Println("222")

	})
	judgeCron.Start()
	select {}
}
